package com.imodia.checkoo.webtag;

public final class TldParam {
	private int pageId;
	private int cataId;
	private String fields;
	private String htmls;
	private int isHtml;
	private int siteId;
	private int pagePId;
	private int docId;
	private int startNum;
	private int endNum;
	private int newsId;
	private int areaId;
	private int jobId;
	
	private int articleId;
	
	private int dataDictionaryId;
	private String queryWord;
	private int redirectPageId;
	private int contentId ;
	
	
	public int getContentId() {
		return contentId<=0?1:contentId;
	}
	public void setContentId(int contentId) {
		this.contentId = contentId;
	}
	public int getRedirectPageId() {
		return redirectPageId;
	}
	public void setRedirectPageId(int redirectPageId) {
		this.redirectPageId = redirectPageId;
	}
	public int getJobId() {
		return jobId;
	}
	public void setJobId(int jobId) {
		this.jobId = jobId;
	}
	public int getNewsId() {
		return newsId;
	}
	public void setNewsId(int newsId) {
		this.newsId = newsId;
	}
	public String getQueryWord() {
		return queryWord;
	}
	public void setQueryWord(String queryWord) {
		this.queryWord = queryWord;
	}
	public int getDataDictionaryId() {
		return dataDictionaryId;
	}
	public void setDataDictionaryId(int dataDictionaryId) {
		this.dataDictionaryId = dataDictionaryId;
	}
	public int getAreaId() {
		return areaId;
	}
	public void setAreaId(int areaId) {
		this.areaId = areaId;
	}
	public int getArticleId() {
		return articleId;
	}
	public void setArticleId(int articleId) {
		this.articleId = articleId;
	}
	public int getDocId() {
		return docId;
	}
	public void setDocId(int docId) {
		this.docId = docId;
	}
	public int getStartNum() {
		return startNum;
	}
	public void setStartNum(int startNum) {
		this.startNum = startNum;
	}
	public int getEndNum() {
		if(endNum==0)endNum=20;
		return endNum;
	}
	public void setEndNum(int endNum) {
		this.endNum = endNum;
	}
	public int getPagePId() {
		return pagePId;
	}
	public void setPagePId(int pagePId) {
		this.pagePId = pagePId;
	}
	public int getSiteId() {
		return siteId;
	}
	public void setSiteId(int siteId) {
		this.siteId = siteId;
	}
	public int getIsHtml() {
		return isHtml;
	}
	public void setIsHtml(int isHtml) {
		this.isHtml = isHtml;
	}
	public String getHtmls() {
		return htmls;
	}
	public void setHtmls(String htmls) {
		this.htmls = htmls;
	}
	public int getPageId() {
		return pageId;
	}
	public void setPageId(int pageId) {
		this.pageId = pageId;
	}
	public int getCataId() {
		return cataId;
	}
	public void setCataId(int cataId) {
		this.cataId = cataId;
	}
	public String getFields() {
		return fields;
	}
	public void setFields(String fields) {
		this.fields = fields;
	}
	
	
}
